{
    class Chat extends ui.Match.ChatUI {
        constructor () {
            super();
            
            this.init();
        }

        init () {
            this.right = 126;
            this.top = 84;
            this.bottom = 114;

            this.initEvent();
        }

        initEvent () {

        }

        updateRoomId (id) {
            this.roomId.text = `房间ID：${id}`;
        }

        resize (width, height, rate) {
            this.scale(rate, rate);
        }
    }
    
    Sail.class(Chat, "Com.Match.Chat");
}